import request from "@/utils/request";

//登录
export function login(query) {
  return request({
    url: "/auth/login",
    method: "post",
    data: query
  });
}

//登录
export function logout() {
  return request({
    url: "/auth/logout",
    method: "get"
  });
}
